<div class="x-wrap">
	<div class="x-panel">
		<div class="x-toolbar">
			<div class="fl">
				<button type="button" class="x-btn" ng-click="add()"><i class="fa fa-file-o"></i><span class="btn-text">写信</span></button>
				<button type="button" class="x-btn" ng-disabled="!hasSelectedRecords()" ng-click="remove()"><i class="fa fa-minus-circle"></i><span class="btn-text">删除</span></button>
			</div>
			<div class="fr x-query">
				<form name="form" novalidate="novalidate" ng-submit="query()">
					<input type="text" class="x-ipt" ng-model="q.title" placeholder="请输入标题" />&nbsp;&nbsp;<button type="submit" class="fa fa-search x-btn-query"></button>
				</form>
			</div>
		</div>
		<div class="x-grid-fixed" grid-view="gridOptions" grid-selection grid-paging></div>
	</div>
</div>